﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FruitCake.SimpleGallery.Models
{
    public class SimpleGalleryImage
    {
        public string Name { get; set; }
        public string Title { get; set; }
        public string FilePath { get; set; }
        public string ThumbnailPath { get; set; }

        public string ThumbnailResolvedPath { get { return string.IsNullOrWhiteSpace(ThumbnailPath) ? FilePath : ThumbnailPath; } }
    }
}